//
//  ALSecondCell.m
//  Ummy.G
//
//  Created by 安林 on 16/9/30.
//  Copyright © 2016年 安林. All rights reserved.
//

#import "ALSecondCell.h"

@implementation ALSecondCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

#pragma mark 让xib显示出来
+(instancetype)loadALSecondCell{
    return [[[NSBundle mainBundle]loadNibNamed:@"ALSecondCell" owner:nil options:nil]firstObject];
}

//我的订单
- (IBAction)myDeal:(id)sender {
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.meituan.com/orders/?mtt=1.index%2Ffloornew.0.0.itz309l2"]];
    
}

//待付款
- (IBAction)noPay:(id)sender {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.meituan.com/orders/other?mtt=1.orders%2Flist.0.0.itz32gfu"]];
}

//待使用
- (IBAction)noUse:(id)sender {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://passport.meituan.com/account/unitivelogin?service=www&continue=http%3A%2F%2Fwww.meituan.com%2Faccount%2Fsettoken%3Fcontinue%3Dhttp%253A%252F%252Fwww.meituan.com%252Forders%252F%253Fmtt%253D1.index%25252Ffloornew.0.0.itxy3eaq&mtt=1.index%2Ffloornew.0.0.itxy3eaq"]];
}


//待评价
- (IBAction)noMark:(id)sender {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.meituan.com/rates/list/torate?mtt=1.account%2Fpoints.0.0.itz3dvkm"]];
}


//退款/售后
- (IBAction)backMoney:(id)sender {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://passport.meituan.com/account/unitivelogin?service=www&continue=http%3A%2F%2Fwww.meituan.com%2Faccount%2Fsettoken%3Fcontinue%3Dhttp%253A%252F%252Fwww.meituan.com%252Forders%252F%253Fmtt%253D1.index%25252Ffloornew.0.0.itxy3eaq&mtt=1.index%2Ffloornew.0.0.itxy3eaq"]];
}

@end
